package engine.graphics.sprite
{
	import away3d.core.managers.*;
	import engine.core.*;
	import engine.graphics.away3d.*;
	import engine.graphics.resources.*;
	import flash.geom.*;
	
	public class RxAnimSprite3D extends RxSprite3D
	{
		private var m_animTextureSheet:RxAnimTextureSheet;
		private static var s_pool:RxObjectPool = null;
		
		public function RxAnimSprite3D(sheet:RxAnimTextureSheet)
		{
			this.m_animTextureSheet = sheet;
		}
		
		public static function CreatePool(initSize:uint, growSize:uint) : void
		{
			var allocFunc:* = function () : Object
			{
				return new RxAnimSprite3D(null);
			};
			s_pool = new RxObjectPool(allocFunc, null, initSize, growSize, RxAnimSprite3D);
		}
	}
}